#text {
    color: var(--color-normal-contrast-weakest);
    margin: auto;
    text-align: center;
    /* 上下距离 */
    padding: 20px 0;
}
.counter {
    text-align: center;
}

.excel-to-json-panel {
  padding: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.file-selector {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

button {
  padding: 6px 12px;
  background-color: #409eff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #66b1ff;
}

button:disabled {
  background-color: #c0c4cc;
  cursor: not-allowed;
}

.status-message {
  color: #f56c6c;
  margin-bottom: 16px;
}

.json-result {
  margin-top: 16px;
}

pre {
  background-color: #f5f7fa;
  padding: 12px;
  border-radius: 4px;
  overflow-x: auto;
  max-height: 400px;
}

.preview-panel {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.preview-content {
    max-height: 300px;
    overflow: auto;
    background: #000000;
    padding: 10px;
    white-space: pre-wrap;
    word-break: break-all;
}